import Vue from 'vue'
import App from './App'

import VueRouter from 'vue-router'

import './assets/css/global.scss'

import {
  Button
} from 'element-ui'
import UI from '../src/ui'
import './plugin'

Vue.use(Button)
Vue.use(UI)

const router = new VueRouter({
  routes: [
    {
      path: '/class',
      component: () => import('./views/class'),
      meta: {
        title: '辅助class'
      }
    },
    {
      path: '/form',
      component: () => import('./views/form'),
      meta: {
        title: '表单'
      }
    }
  ]
})

new Vue({
  el: '#app',
  router,
  render: (h) => h(App)
})
